<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>jaContextMenu</title>
  <style>
    body {
      height: 200vh;
      width: 200vw;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }
  </style>
  <!-- <link rel="stylesheet" href="../styles/edge.css"/> -->
</head>
<body>
  <div id="block1" style="height:100px;width:200px;background-color:antiquewhite">right click(menu2)(createAsync)</div>
  <div id="block2" style="height:100px;width:200px;background-color:aquamarine">right click (custom panel)</div>
  <!-- <div id="block3" style="height:100px;width:200px;background-color:cadetblue">left click (stop propagation) not hide menu</div> -->
  <div id="block4" style="height:100px;width:200px;background-color:brown;margin-left: 300px">prefer position left top</div>
</body>
<script src="./test/demo.js" type="module"></script>
</html>